package com.flyme.module.base.client.api;

import com.flyme.common.core.model.ResultBody;
import com.flyme.common.core.model.query.PagerInfo;
import com.flyme.module.base.client.entity.SysExatime;
import org.springframework.web.bind.annotation.*;

@RequestMapping("/exatime/")
public interface SysExatimeRemoteService {

    /**
     * 考试安排列表
     */
    @PostMapping("/list")
    ResultBody list(@ModelAttribute PagerInfo pagerInfo, @ModelAttribute SysExatime exatime);

    /**
     * 添加/修改
     */
    @PostMapping("/timeEdit")
    ResultBody timeEdit(@ModelAttribute SysExatime exatime);

    /**
     * 根据id删除
     */
    @GetMapping("delByTagId/{id}")
    ResultBody delByTagId(@PathVariable Long id);
}
